/**
 * 
 */
package ma.hamada.event;

import java.util.EventObject;

import ma.hamada.model.PiecePosition;

/**
 * @author M.ABDELOUHAB
 *
 */
public class PositionChangedEvent  extends EventObject{
	
	PiecePosition newPiecePosition=null;

	public PositionChangedEvent(Object source,PiecePosition piecePosition) {
		super(source);
		this.newPiecePosition=piecePosition;
	}

	/**
	 * @return the newPiecePosition
	 */
	public PiecePosition getNewPiecePosition() {
		return newPiecePosition;
	}
	

}
